
public class Code008 {
    public static void main(String[] args) {
		double[] nums = new double[] {34.2,45.6,87.3,-98.2,123};
		double min = 0;
		min = nums[0];
		for (int i = 0; i < nums.length; i++) {
			if(nums[i] < min){
				min = nums[i];
			}
		}
		System.out.println(min);
	}
}
